<?php
/**
 * Created by PhpStorm.
 * User: tjjs
 * Date: 17-8-8
 * Time: 下午9:03
 */

namespace ActionsHttp;


use Utils\Socket_to_restaurant;

class Test extends BaseActionHttp
{
    public function doAction() {
        parent::doAction();
        $data = array(
            "ActionType" => "event_restaurant_new_order",
            "DataDictionary" => array(
                "ORDER_FORM_ID"=>"15"
            )
        );
        new Socket_to_restaurant(json_encode($data));

        $this->ResponseDataToCurrentClient();
    }
}